package com.antler.smt.request.admin;

import com.antler.smt.request.base.BasePageReq;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * 分类获取信息列表实体
 *
 * @author zhangyi
 * @date 2018/5/11 10:59
 */
@ApiModel(value = "ConditionSeeKBaseReq", description = "分类查询的实体")
public class ConditionSeeKBaseReq extends BasePageReq {

    /**
     * 名称（采购商，服务商)
     */
    @ApiModelProperty(value = "名称（采购商，服务商)", name = "name", allowEmptyValue = true)
    private String name;

    /**
     * 名称（服务商)
     */
    @ApiModelProperty(value = "名称（服务商)", name = "pName", allowEmptyValue = true)
    private String pName;
    /**
     * 名称（采购商)
     */
    @ApiModelProperty(value = "名称（采购商)", name = "sName", allowEmptyValue = true)
    private String sName;
    /**
     * 账号(采购商，服务商)邮箱
     */
    @ApiModelProperty(value = "账号(采购商，服务商)邮箱", name = "email", allowEmptyValue = true)
    private String email;

    /**
     * 账号(采购商，服务商)手机号
     */
    @ApiModelProperty(value = "账号(采购商，服务商)手机号", name = "mobile", allowEmptyValue = true)
    private String mobile;

    /**
     * 开始注册时间
     */
    @ApiModelProperty(value = "开始注册时间", name = "startDate", allowEmptyValue = true)
    private Date startDate;

    /**
     * 结束注册时间
     */
    @ApiModelProperty(value = "结束注册时间", name = "endDate", allowEmptyValue = true)
    private Date endDate;

    /**
     * 采购商和服务商区分（type：1服务商 2采购商）
     */
    @ApiModelProperty(value = "采购商和服务商区分（type：1服务商 2采购商）", name = "type", allowEmptyValue = true)
    private Integer type;

    /**
     *  项目名称（订单名称）
     */
    @ApiModelProperty(value = "项目名称", name = "orderName", allowEmptyValue = true)
    private String orderName;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号", name = "orderNo", allowEmptyValue = true)
    private String orderNo;

    /**
     * 下单时间
     */
    @ApiModelProperty(value = "下单时间", name = "startOrderDate", allowEmptyValue = true)
    private Date startOrderDate;

    /**
     * 结束订单时间
     */
    @ApiModelProperty(value = "结束订单时间", name = "endOrderDate", allowEmptyValue = true)
    private Date endOrderDate;

    /**
     * 状态信息（用“,”分割）
     */
    @ApiModelProperty(value = "状态信息（用“,”分割）", name = "status", allowEmptyValue = true)
    private List<Integer> status;

    /**
     * 服务商入驻状态
     */
    private List<Integer> settedStatus;

    /**
     * 接受优质加工厂状态
     */
    private String statusString;

    /**
     * 接收入驻状态
     */
    private String settedStatusString;

    /**
     * 接受字段
     */
    private String account;


    public String getStatusString() {
        return statusString;
    }

    public void setStatusString(String statusString) {
        this.statusString = statusString;
    }

    public String getSettedStatusString() {
        return settedStatusString;
    }

    public void setSettedStatusString(String settedStatusString) {
        this.settedStatusString = settedStatusString;
    }

    public List<Integer> getSettedStatus() {
        return settedStatus;
    }

    public void setSettedStatus(List<Integer> settedStatus) {
        this.settedStatus = settedStatus;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd")
    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }
    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd")
    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd")
    public Date getStartOrderDate() {
        return startOrderDate;
    }

    public void setStartOrderDate(Date startOrderDate) {
        this.startOrderDate = startOrderDate;
    }
    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd")
    public Date getEndOrderDate() {
        return endOrderDate;
    }

    public void setEndOrderDate(Date endOrderDate) {
        this.endOrderDate = endOrderDate;
    }

    public List<Integer> getStatus() {
        return status;
    }

    public void setStatus(List<Integer> status) {
        this.status = status;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }
}
